package miaofusdk

type RespVipTradeBill struct {
	Response
	Data VipTradeBill `json:"data,omitempty"`
}

type RespVipTradeBills struct {
	Response
	Page      int            `json:"page,omitempty"`
	TotalPage int            `json:"total_page,omitempty"`
	TotalNum  int            `json:"total_num,omitempty"`
	Row       int            `json:"row,omitempty"`
	Data      []VipTradeBill `json:"data"`
}

type VipTradeBill struct {
	Id                int    `json:"id,omitempty"`
	Date              string `json:"date,omitempty"`
	CardNum           string `json:"card_num,omitempty"`
	CardType          string `json:"card_type,omitempty"`
	CardSubType       string `json:"card_sub_type,omitempty"`
	TotalFee          string `json:"total_fee,omitempty"`
	OrgId             string `json:"org_id,omitempty"`
	ShopId            string `json:"shop_id,omitempty"`
	StoreId           string `json:"store_id,omitempty"`
	Operator          string `json:"operator,omitempty"`
	RawData           string `json:"raw_data,omitempty"`
	DownTradeNo       string `json:"down_trade_no,omitempty"`
	TradeNo           string `json:"trade_no,omitempty"`
	RefundTradeNo     string `json:"refund_trade_no,omitempty"`
	DownRefundTradeNo string `json:"down_refund_trade_no,omitempty"`
	TradeState        string `json:"trade_state,omitempty"`
	Created           string `json:"created,omitempty"`
	Updated           string `json:"updated,omitempty"`
}

//统计的数据
type RespVipTradeCount struct {
	Response
	Data []VipTradeCount `json:"data"`
}

type VipTradeCount struct {
	CardType   string `json:"card_type"`
	TotalFee   string `json:"total_fee"`
	TotalNum   string `json:"total_num"`
	RefundFee  string `json:"refund_fee"`
	RefundNum  string `json:"refund_num"`
	ReceiptFee string `json:"receipt_fee"`
	ReceiptNum string `json:"receipt_num"`
}
